package com.shigen.springcloud.service;

import org.springframework.stereotype.Component;

@Component
public class PaymentFallbackService implements PaymentHystrixService {

  @Override
  public String payment_OK(Integer id) {
    return "-----PaymentFallbackService fall back-paymentInfo_OK , (┬＿┬)";
  }

  @Override
  public String payment_TimeOut(Integer id) {
    return "-----PaymentFallbackService fall back-paymentInfo_TimeOut , (┬＿┬)";
  }
}
